﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Entity;

namespace Web.admin.InnerManage
{
    /// <summary>
    /// DelGroup 的摘要说明
    /// </summary>
    public class DelGroup : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            context.Response.Write("Hello World");
            BLL.GroupsService groupservice = new BLL.GroupsService();
            string GroupId = context.Request.QueryString["id"];
            BoGroups model = new BoGroups();
            model.GRO_ID  = GroupId;

            groupservice.DeleteGroup(model);

        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}